﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addStudetnScore.aspx.cs" Inherits="学生成绩查询及选课系统.teacher.addStudetnScore" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>学生成绩查询及选课系统</title>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="../css/font.css"/>
    <link rel="stylesheet" href="../css/xadmin.css"/>
    <script type="text/javascript" src="../lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="../js/xadmin.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="layui-form-item">
                        <label for="L_email" class="layui-form-label">
                            <span class="x-red">*</span>学生学号</label>
                        <div class="layui-input-inline">
                            <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="stuno" DataValueField="stuno" Width="100px" Height="30px"></asp:DropDownList>
                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:C#StuentManageConnectionString %>" SelectCommand="SELECT [stuno] FROM [student]"></asp:SqlDataSource>
                            <%--<input type="text" id="L_email" name="email" required="" lay-verify="email" autocomplete="off" class="layui-input">--%></div>
                        </div>
                    <div class="layui-form-item">
                        <label for="L_username" class="layui-form-label">
                            <span class="x-red">*</span>课程号&nbsp;&nbsp;&nbsp;&nbsp; </label>
                        &nbsp;<div class="layui-input-inline">
                            <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource2" DataTextField="cno" DataValueField="cno"  Width="100px" Height="30px" ></asp:DropDownList>
                            <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:C#StuentManageConnectionString %>" SelectCommand="SELECT [cno] FROM [course]"></asp:SqlDataSource>
                            <%--<input type="text" id="L_username" name="username" required="" lay-verify="nikename" autocomplete="off" class="layui-input">--%></div>
                    </div>
                    <div class="layui-form-item">
                        <label for="L_pass" class="layui-form-label">
                            <span class="x-red">*</span>成绩&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </label>&nbsp;
                        <div class="layui-input-inline">
                            <asp:TextBox ID="TextBox1" runat="server" Width="100px" CssClass="layui-input" Height="30px" ></asp:TextBox>
                            <%--<asp:DropDownList ID="DropDownList3" runat="server"></asp:DropDownList>--%>
                            <%--<input type="password" id="L_pass" name="pass" required="" lay-verify="pass" autocomplete="off" class="layui-input">--%></div>

                    </div>
                    
                    <div class="layui-form-item">
                        <label for="L_repass" class="layui-form-label"></label>
                        <%--<button class="layui-btn" lay-filter="add" lay-submit="">增加</button>--%>
                        <asp:Button ID="Button1" runat="server" Text="增加" Height="30px" Width="80px" BackColor="#33cc33" CssClass="layui-btn" OnClick="Button1_Click" />
                    </div>
         <div>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label1" runat="server" Text="" Font-Size="Larger" ForeColor="Red"></asp:Label>
        </div>
    </form>
</body>
</html>
